/**
 * Copyright &copy; 2016-2017 <a href="https://www.lczyfz.com">联创智云</a> All rights reserved.
 */
package com.lczyfz.campusinfo.modules.campusinfoeducation.entity;

import org.hibernate.validator.constraints.Length;

import com.lczyfz.campusinfo.common.persistence.DataEntity;

/**
 * 地区管理Entity
 * @author yt
 * @version 2017-10-20
 */
public class CampusinfoRegion extends DataEntity<CampusinfoRegion> {

    private static final long serialVersionUID = 1L;
    private String region;        // 地区名称

    public CampusinfoRegion() {
        super();
    }

    public CampusinfoRegion(String id) {
        super(id);
    }

    @Length(min = 1, max = 64, message = "地区名称长度必须介于 1 和 64 之间")
    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

}